import dayjs from 'dayjs';

export default [
  {
    title: '生产型号',
    key: 'moduleNo'
  },
  {
    key: 'operatorTime',
    title: '录入时间',
    customRender: row => {
      return dayjs(row.modifyTime).format('YYYY-MM-DD HH:mm:ss');
    }
  },
  { key: 'sendSampleTime', title: '送样时间' },
  { key: 'completeTime', title: '完成时间' },
  { key: 'drawingChangeChecks', title: '工程图变更检查' },
  { key: 'punchProcess', title: '工序' },
  {
    key: 'shiftType',
    title: '班别',
    customRender: row => {
      return ['白班', '夜班'][row.shiftType];
    }
  },
  { key: 'operator', title: '检验员' },
  { key: 'result', title: '判定结果' },
  { key: 'checker', title: '审核人' },
  { key: 'checkTime', title: '审核时间' },
  { key: 'remark', title: '备注' }
];
